﻿using System;
using System.Collections.Generic;

namespace IntelligentAgriculture.Domain.Entity
{
    public partial class Sheepfilemodel
    {
        /// <summary>
        /// 主键（自增）
        /// </summary>
        public int SheepFileId { get; set; }
        /// <summary>
        /// 耳号
        /// </summary>
        public string? EarTag { get; set; }
        /// <summary>
        /// 品种
        /// </summary>
        public int? Variety { get; set; }
        /// <summary>
        /// 性别 (0 = 母, 1 = 公)
        /// </summary>
        public bool? SheepSex { get; set; }
        /// <summary>
        /// 电子耳标号
        /// </summary>
        public string? ElectEarNum { get; set; }
        /// <summary>
        /// 基因等级
        /// </summary>
        public int? GeneticGrade { get; set; }
        /// <summary>
        /// 父亲耳号
        /// </summary>
        public string? PrantEarNum { get; set; }
        /// <summary>
        /// 母亲耳号
        /// </summary>
        public string? MatherEarNum { get; set; }
        /// <summary>
        /// 出生日期
        /// </summary>
        public DateTime? BirthDate { get; set; }
        /// <summary>
        /// 出生状态
        /// </summary>
        public int? BirthState { get; set; }
        /// <summary>
        /// 入场日期
        /// </summary>
        public DateTime? AdmissionDate { get; set; }
        /// <summary>
        /// 出生场地
        /// </summary>
        public string? BirthPlace { get; set; }
        /// <summary>
        /// 出生重（公斤）
        /// </summary>
        public decimal? BirthWeight { get; set; }
        /// <summary>
        /// 断奶重
        /// </summary>
        public decimal? AblactationWeight { get; set; }
        /// <summary>
        /// 断奶日期
        /// </summary>
        public DateTime? AblactationDate { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string? BirthContent { get; set; }
        /// <summary>
        /// 生长阶段
        /// </summary>
        public int? Growthstage { get; set; }
        /// <summary>
        /// 栋舍
        /// </summary>
        public int? BuildingId { get; set; }
        /// <summary>
        /// 栏位
        /// </summary>
        public int? ColumnId { get; set; }
        /// <summary>
        /// 羊只类型（1=种公，2=种母，3=后裔）
        /// </summary>
        public int? SheepType { get; set; }
        /// <summary>
        /// 生产等级
        /// </summary>
        public int? ProduceLevel { get; set; }
        /// <summary>
        /// 销售等级
        /// </summary>
        public int? SaleLevel { get; set; }
        /// <summary>
        /// 繁殖状态(1=后备空怀，2=返情空怀，3=未孕空怀，4=流产空怀，5=空胎空怀，6=断奶空怀，7=妊娠，8=哺乳)
        /// </summary>
        public int? ReproductionState { get; set; }
        /// <summary>
        /// 是否妊检 (0 = 否, 1 = 是)
        /// </summary>
        public ulong? IsPregnancy { get; set; }
        /// <summary>
        /// 繁殖状态天数
        /// </summary>
        public int? ReproductionStateNum { get; set; }
        /// <summary>
        /// 在场状态(1=在场，2=待入场，3=销售离场，4=死亡离场，5=淘汰已离场，6=调拨离场，7=死羔未入场)
        /// </summary>
        public int? PresentState { get; set; }
        /// <summary>
        /// 创建人
        /// </summary>
        public string? CreateName { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateTime { get; set; }
        /// <summary>
        /// 修改人
        /// </summary>
        public string? UpdateName { get; set; }
        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime? UpdateTime { get; set; }
        /// <summary>
        /// 逻辑删除
        /// </summary>
        public bool? IsDel { get; set; }
    }
}
